WCML\Synchronization\Hooks A

Total Complexity 70
Dependencies 8
Dependents 9
Total lines 443
Lines of code 274
Logical lines of code 182
Comment lines 87
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
synchronizeConnectedTranslations()
A
46 10 37
synchronizeOnEditSave()
S
51 6 27
synchronizeProductTranslationsOnSave()
S
53 6 23
canRunProductSynchronization()
S
59 6 15
syncProductStock()
S
50 5 29
synchronizeProductVariationsOnAjax()
S
54 5 21
add_hooks()
S
54 5 19
synchronizeProductTranslationsOnSaveInNativeEditor()
S
56 5 18
isProductSynchronizationValidContext()
S
62 5 10
setVariationLanguageDetails()
S
59 4 15
synchronizeProductDuplication()
S
56 3 17
synchronizeProductTranslation()
S
61 3 13
synchronizeProductTranslations()
S
71 2 6
synchronizeProductComponent()
S
70 2 6
__construct()
S
63 1 12
synchronizeProductVariationTranslations()
S
79 1 3
synchronizeProductVariationsOnBulkEdit()
S
81 1 3